﻿namespace SolidMvvmInterfaces {
	public interface IMessageReporter {
		/// <summary>
		/// </summary>
		/// <param name="publicMessage">A message written for the end-user.</param>
		/// <param name="privateMessageOrNull">Usually myException.ToString(), which includes the call stack. Can be null.</param>
		/// <param name="messageType">Modal error, non-modal logging, or debug logging only.</param>
		void ReportMessage(string publicMessage, string privateMessageOrNull, MessageType messageType);
	}
}
